using System;
using System.Collections.Generic;

namespace Voodoo.Distribution
{
	[Serializable]
	public class LanguageRegistry : IDisposable
	{
		private bool _disposed;

		public Dictionary<string, string> translations = new Dictionary<string, string>();

		public void Dispose()
		{
			if (!_disposed)
			{
				_disposed = true;
				translations.Clear();
				translations = null;
			}
		}
	}
}
